package com.seednia.module.core.xport;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;

import com.seednia.foundation.framework.service.ServiceException;

/**
 * 
 * @author Young Suk Ahn
 *
 */
public interface IExporter extends IXporter {

	
	/**
	 * Exports the application data to output stream
	 * @param params
	 * @param format TODO
	 * @return
	 * @throws XportException 
	 */
	void exportAppData(String comments, OutputStream os, Map<String, Object> params) throws ServiceException, XportException;
	
	/**
	 * Exports the application data to a specific file
	 * @param file
	 * @param params
	 * @param format TODO
	 * @throws FileNotFoundException 
	 * @throws IOException 
	 * @throws XportException 
	 */
	void exportAppData(String comments, File file, Map<String, Object> params) throws ServiceException, FileNotFoundException, IOException, XportException;

}
